<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">





<ui:composition template="/templates/template.xhtml">

	<ui:define name="left">
 fhjskhfjkshjk <br />

	</ui:define>
	<ui:define name="content">


		<input type="hidden" value="3696" id="remainTime"></input>
		<div id="showRemainTime">HEHEH</div>


		<h:form>
			<h:outputText value="Kid LOVE"></h:outputText>
			<h:button value="KICK ME " onclick="save()" styleClass="styleButton"></h:button>
		</h:form>

		<script type="text/javascript">
			setInterval(function() {
				clock()
			}, 1000);

			var remainTime = document.getElementById("remainTime").value;
			var hour = Math.floor(remainTime / 3600);
			var minute = Math.floor((remainTime - hour * 3600) / 60);
			var second = remainTime - hour * 3600 - minute * 60;

			function clock() {
				document.getElementById("showRemainTime").innerHTML = hour
						+ " : " + minute + " : " + second;
				second--;
				if (second == 0) {
					if (minute > 0) {
						minute--;
						second = 59;
					} else if (hour > 0) {
						hour--;
						minute = 59;
						second = 59;
					}
				}
			}
			function save() {
				document.forms[0].submit();
			}
		</script>
	
		CON TENT HERCON TENT HERCON TENT HERCON TENT HER
	  CON TENT HERCON TENT HERCON TENT HERCON TENT HERCON TENT HER
	  ON TENT HERCON TENT HERCON TENT HERCON TENT HERCON TENT HER
	  CON TENT HERCON TENT HERCON TENT HER<br />
	  CON TENT HERCON TENT HERCON TENT ERCON TENT HER
	  CON TENT HERCON TENT HERCON TENT HER
	  
	  
	  CON TENT HERCON TENT HERCON TENT HER
	  
	  CON TENT HERCON TENT HERCON TENT HERCON TENT HERE
	  <br />

		<h:form>
			<h:outputText value="AAAAAAAAAAAAAA">
			</h:outputText>
			<br />
			<h:inputText value="#{userBean.userName}">
			</h:inputText>
			<br />
			<h:inputText value="#{khoaUserBean.userName}">
			</h:inputText>
			<br />

			<h:commandButton value="PRESS" action="#{userBean.profile}"></h:commandButton>
		</h:form>
	</ui:define>
</ui:composition>

</html>